StaticImageView

constructor(context: Context, module: Module)

Constructs a new StaticImageView.

Parameters

context

The Context the view is running in, through which it can access the current theme, resources, etc.

module

The Module data that defines the configuration for this image view, including image source (file path or URL), dimensions, and scale type. Must not be null.

Throws

if module is null, as it's essential for configuring the image view.